const http = require('http');
const querystring = require('querystring');
let server = http.createServer((req,res) => {
    const query = querystring.parse(req.url.split('?')[1]);
    console.log(query);


})

server.listen(3000,()=> {

    console.log('服务启动了');
})